body {
    font-family: Calibri, Arial, Helvetica, sans;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    font-size: 12px;
    background-color: #464548;
    overflow-y: hidden;
}

#page-bg {
    background-image: url("../images/login-page-bg.png");
    height: 400px;
    margin-top: -200px;
    position: absolute;
    top: 50%;
    width: 100%;
}

#page-bg img.logo {
    left: 50%;
    margin-left: -186px;
    position: absolute;
    top: -20px;
}

/* Login */

#page-bg #loginPanel {
    background-color: #464548;
    border: 1px solid scrollbar;
    height: 170px;
    left: 50%;
    margin-left: -226px;
    padding: 5px;
    position: absolute;
    top: 100px;
    width: 452px;
}

#page-bg #loginPanel div.header {
    background-image: url("../images/login-panel-header-bg.png");
    background-repeat: no-repeat;
    height: 40px;
    width: 100%;
    color: #e1e1e1;
    font-family: Arial;
    font-size: 30px;
    padding-left: 8px;
}

#page-bg #loginPanel .login-fields {
    padding: 17px 2px 50px 2px;;
    text-align: left;
}

#page-bg #loginPanel .login-fields div {
    width: 100%;
    margin-bottom: 8px;
    font-size: larger;
}

#page-bg #loginPanel .login-fields label {
    color: #E1E1E1;
    font-size: x-large;
}

#page-bg #loginPanel .login-fields input[type="text"],input[type="password"]  {
    color: #AAAAAA;
    height: 20px;
    margin-top: 2px;
    position: absolute;
    right: 8px;
    width: 260px;
}

#page-bg #loginPanel .login-fields .remeberMe {
    color: #E1E1E1;
    float: right;
    text-align: left;
    width: 267px;
}

#page-bg #loginPanel #errorMessages {
    background-color: #464548;
    border: 1px solid #EF570C;
    color: #EF570C;
    font-size: larger;
    margin-left: -6px;
    margin-right: -6px;
    padding: 5px;
    text-align: center;
}

#page-bg #loginPanel .login-buttons {
    margin-right: -5px;
    padding-bottom: 10px;
    text-align: right;
}

#page-bg #loginPanel .login-buttons input {
    background-image: url("../images/login-button-bg.png");
    border: 1px solid #434343;
    color: #E1E1E1;
    font-size: large;
    height: 32px;
    margin-left: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

#page-bg #loginPanel .login-buttons input:hover {
    color: #ee7c33;
}

#page-bg #loginPanel .login-buttons a {
    color: inactivecaptiontext;
    float: left;
    font-size: larger;
    margin-left: -5px;
    margin-top: 8px;
}

#page-bg #loginPanel .login-buttons a:hover {
    color: #E1E1E1;
}

#page-bg #loginPanel .login-buttons span {
    color: #E1E1E1;
    float: left;
    font-size: larger;
    margin-left: 90px;
    margin-top: 8px;
}

/* Registration */
#page-bg #registrationPanel {
    left: 50%;
    margin-left: -232px;
    position: absolute;
    top: 0;
    width: 464px;
}

#page-bg #registrationPanel .wrapper {
    background-color: #464548;
    border: 1px solid scrollbar;
    padding: 5px;
}

#page-bg #registrationPanel .wrapper div.header {
    background-image: url("../images/login-panel-header-bg.png");
    background-repeat: no-repeat;
    height: 40px;
    width: 100%;
    color: #e1e1e1;
    font-family: Arial;
    font-size: 30px;
    padding-left: 8px;
}

#page-bg #registrationPanel .wrapper table.registration-fields {
    width: 100%;
    margin-bottom: 8px;
    margin-top: 8px;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.labelColumn {
    color: #E1E1E1;
    font-size: larger;
    vertical-align: top;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.inputColumn {
    text-align: right;
    width: 270px;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.inputColumn .ui-message-error {
    text-align: left;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.inputColumn input {
    width: 270px;
    position: relative;
    height: 16px;
    margin-top: 0;
    right: 0;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.inputColumn select {
    width: 276px;
}

#page-bg #registrationPanel .wrapper table.registration-fields td.inputColumn span.rf-msg-err {
    text-align: left;
    margin-top: 3px;
    background-position: left top;
}

#page-bg #registrationPanel .action-buttons {
    padding-top: 10px;
    text-align: right;
}

#page-bg #registrationPanel .action-buttons input {
    background-image: url("../images/login-button-bg.png");
    border: 1px solid #434343;
    color: #E1E1E1;
    font-size: large;
    height: 32px;
    margin-left: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

#page-bg #registrationPanel .action-buttons input:hover {
    color: #ee7c33;
}

#page-bg #registrationPanel .action-buttons a {
    color: #E1E1E1;
    float: left;
    font-size: larger;
    margin-top: 8px;
}

#page-bg #registrationPanel .action-buttons a:hover {
    color: #ee7c33;
}

#page-bg #registrationPanel .registrationSuccessful {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

#page-bg #registrationPanel .registrationSuccessful .shadow {
    background-color: white;
    opacity: 0.5;
    filter: alpha(opacity = 50);
    width: 100%;
    height: 100%;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel {
    background-color: LightGray;
    border: 1px solid #434343;
    height: 350px;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    position: absolute;
    top: 50%;
    width: 600px;
    z-index: 20;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .title {
    border-bottom: 2px solid #EE7C33;
    font-size: xx-large;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 10px;
    padding-bottom: 8px;
    text-align: center;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .title img {
    vertical-align: bottom;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .content {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 5px;
    padding-right: 5px;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .content p {
    font-size: larger;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .content p span {
    color: green;
    font-weight: bold;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .button {
    border-top: 2px solid #EE7C33;
    bottom: 0;
    left: 0;
    margin-left: 8px;
    margin-right: 8px;
    padding-bottom: 8px;
    padding-top: 8px;
    position: absolute;
    right: 0;
    text-align: center;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .button input {
    background-image: url("../images/login-button-bg.png");
    border: 1px solid #434343;
    color: #E1E1E1;
    font-size: large;
    height: 32px;
    margin-left: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

#page-bg #registrationPanel .registrationSuccessful .infoPanel .button input:hover {
    color: #ee7c33;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #E1E1E1;
    margin-bottom: 10px;
}